package com.geostart.constructionland.system.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yelll
 * @since 2020-2-14 16:09
 **/
@Data
@NoArgsConstructor
public class RepEntity {
    private String code;
    private String content;
    public RepEntity(String code, String content){
        this.code = code;
        this.content = content;
    }
    public boolean isOK(){
        boolean isOK = false;
        if( "200".equals(code) ){
            isOK = true;
        }
        return isOK;
    }
}
